package org.krinko.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController
public class TestController {

    @GetMapping("/hello")
    public String hello() {
        log.info("------>------>hello");
        return "------>------>hello,world";
    }
    @GetMapping("/helloworld")
    public String helloWorld() {
        log.info("------>------>helloWorld");
        return "hello,world";
    }
}
